//package cn.kgc.servlet;
//
//import cn.kgc.service.impl.userServiceImpl;
//import cn.kgc.service.userService;
//
//import javax.servlet.ServletException;
//import javax.servlet.annotation.WebServlet;
//import javax.servlet.http.HttpServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.IOException;
//import java.io.PrintWriter;
//
//@WebServlet("/CheckUNameServlet")
//public class CheckUNameServlet extends HttpServlet {
//	private static final long serialVersionUID = 1L;
//
//	public CheckUNameServlet() {
//		super();
//		// TODO Auto-generated constructor stub
//	}
//
//	protected void doPost(HttpServletRequest request, HttpServletResponse response)
//			throws ServletException, IOException {
//		PrintWriter out = response.getWriter();
//		userService us = new userServiceImpl();
//		String uName = request.getParameter("uName");
//		boolean flag = us.checkUName(uName);
//		out.print(flag);
//	}
//
//}
